//
//  ShopcarFootView.m
//  jang
//
//  Created by lee han on 16/04/2017.
//  Copyright © 2017 lee han. All rights reserved.
//

#import "ShopcarFootView.h"

@implementation ShopcarFootView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
-(void)setMoneyInfo:(NSInteger)count{
    _mTextPrice.text = [NSString stringWithFormat:@"￥%ld", count];
}
- (IBAction)onClickSelect:(id)sender {
    if(_mDelegate){
        [_mDelegate onClickFootSelect];
    }
}
- (IBAction)onClickSubmit:(id)sender {
    if(_mDelegate){
        [_mDelegate onClickFootSubmit];
    }
}
@end
